#ifndef _JSON_OBJECT_H_
#define _JSON_OBJECT_H_

#include <string>
#include "cocoa/CCObject.h"
#include "JsonValue.h"


using namespace std;
USING_NS_CC;

class JsonObject : public CCObject
{
public:
	JsonObject();
	JsonObject( string jsonStr );
	JsonObject( const char *buffer);
	virtual ~JsonObject();
	Json::Value&	getJsonVal();

protected:
	Json::Value m_jsonVal;
};

#endif